PKG_NAME = libuuid
PKG_REAL_NAME = util-linux
PKG_VERS = 2.38.1
PKG_EXT = tar.xz
PKG_DIST_NAME = $(PKG_REAL_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://www.kernel.org/pub/linux/utils/util-linux/v$(word 1,$(subst ., ,$(PKG_VERS))).$(word 2,$(subst ., ,$(PKG_VERS)))
PKG_DIR = $(PKG_REAL_NAME)-$(PKG_VERS)

DEPENDS =

HOMEPAGE = https://github.com/karelzak/util-linux
COMMENT  = Random collection of Linux utilities. We use this only to build libuuid out of util-linux.
LICENSE  = GPLv2

GNU_CONFIGURE = 1
CONFIGURE_ARGS  = --without-ncurses
CONFIGURE_ARGS += --without-python
CONFIGURE_ARGS += --disable-static
# We use libuuid only
CONFIGURE_ARGS += --disable-all-programs --enable-libuuid

ADDITIONAL_CFLAGS = -O

include ../../mk/spksrc.cross-cc.mk
